You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces an explicit, machine-readable node image feature compatibility matrix under vhdbuilder/compatibility/features/. The initial matrix contains 29 per-feature JSON files, covering 49 Linux and Windows gallery image definitions, plus a README documenting the schema and maintenance requirements.
Matrix structure
Each feature has its own lowercase filename, such as httpproxy.json, with three top-level fields:
tagName identifies the feature using its intended tag casing, such as httpProxy, localDNS, or gpuMIGProfiles.
isEnum distinguishes boolean features from features with individually supported settings.
compatibility records support using exact, case-sensitive Shared Image Gallery / Azure Compute Gallery image definition names, such as 2204gen2fipsTLcontainerd, V3gen2, or aclgen2arm64fipsTL, rather than Distro identifiers or pipeline job names.
For boolean features, compatibility directly maps each image definition to true or false. For enum-valued features, it contains a separate image-definition-to-boolean mapping for each setting. For example, gpuDevicePluginMode distinguishes devicePlugin from dra, while windowsGpuDriverType distinguishes CUDA from GRID. Supporting one setting does not imply support for the others.
Every feature mapping, including every enum-setting mapping, explicitly includes every image definition in scope. Unsupported combinations are represented by false; missing entries are incomplete data, not an implicit support decision. Image definition keys use consistent ordering across the files.
The matrix covers networking, image streaming and bootstrap capabilities, GPU configuration, security-related features, and Windows-specific capabilities such as GMSA, DSR, CSI proxy, SSH, next-generation networking, and accelerated networking.
What the matrix will be used for
These files will provide the compatibility input used to construct the tagging goal for official AKS node image releases: the desired feature-support metadata associated with images published to the gallery. Release tooling can look up an image definition across the feature files and derive its supported boolean features and enum settings, preserving the distinctions between individual settings.
This establishes a reviewable, version-controlled basis for publishing image compatibility metadata that downstream consumers can use for feature discovery and compatibility decisions. It separates the feature-support declaration from the tooling that publishes or consumes it.
Compatibility means that an image can support a feature, not that the feature is enabled by default or usable in every cluster configuration. Kubernetes version, VM SKU, network configuration, feature registration, and other runtime requirements still apply.
This PR adds the matrix data and documentation only. It does not implement tag publication, change API behavior, retag previously published images, or enable features on running nodes. Tagging automation and downstream integration are separate work.
Maintenance and ownership
Adding a new image or retiring an older image requires updating all feature files and all enum-setting mappings together. This includes changes to which jobs are enabled by default in either the Linux or Windows VHD release pipeline. New images must receive explicit support values for every feature; they must not silently inherit support from another image. Removing one feature's support for an image that remains in scope means changing that value to false, not deleting the image entry.
Ownership will be assigned to individual feature files in a series of follow-up PRs, so the responsible feature teams can review and maintain their compatibility declarations as support evolves.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The compatibility matrices incorrectly mark Windows IMDS restriction as unsupported and FIPS LocalDNS combinations as supported, while omitting the supported none network-plugin option.
🟡 Medium Risk — 🏗️ Architecture: Both x86 ACL images ship the MIG service (vhdbuilder/packer/vhd-image-builder-acl.json:293,693), which accepts NVIDIA_MIG_PROFILE_LAYOUT through ensureMigPartition. These false values would omit an implemented MIG-layout capability from the tagging goal. Set this entry and aclgen2fipsTL at line 40 to true.
Mark Windows images as supporting IMDS restriction
🟡 Medium Risk · 🖥️ Cross-OS: Windows already supports this configuration: kuberneteswindowssetup.ps1.template:149 passes EnableIMDSRestriction into NodePrep, and staging/cse/windows/azurecnifunc.ps1:218-234 adds the IMDS-blocking ACL, covered by azurecnifunc.tests.ps1:427-440. Marking all Windows images unsupported would make the tagging goal hide an implemented capability. Please set these entries to true to match the documented “can support” semantics.
Mark Azure Linux and ACL FIPS images as LocalDNS-unsupported
🟡 Medium Risk — 🖥️ Cross-OS: Existing Azure Linux and ACL scenarios explicitly disable LocalDNS on FIPS images (e2e/scenario/scenario.go:213–245, e2e/scenario/scenario_cosi.go:272–273). These true values would advertise configurations that are currently unsupported. Set the Azure Linux/OSGuard and ACL FIPS entries at lines 24, 26, 31–32, and 38–40 to false.
The reason will be displayed to describe this comment to others. Learn more.
so right now I guess cilium support isn't represented in the best way - it's currently split across ciliumDataplane, networkPolicy, and networkAccelerationMode
based on your feedback, would this be a better approach?:
declare cilium networkPolicy support if the image supports either legacy or eBPF host routing
coalesce theciliumDataplane feature into another ENUM value of networkPlugin called cilium
declare networkPlugin=cilium support if the image supports either legacy or eBPF host routing
keep networkAccelerationMode as-is
right now bpfVeth is used to represent eBPF host routing support - at this point I think that matrix should be correct?
I've also corrected the 20.04 cases you pointed out
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I hadn't realized networkaccelerationmode was refering to eBPF host routing. Legacy implies ebpf host routing support for sure. Further, all images that support cilium legacy host routing can also support policy. So, your suggestion would be fine, networkPolicy only needs to look at legacy host routing support. Treating ciliumDataplane as an enum value for networkPlugin is fine, though I don't see a need for it. This file as it is today can capture legacy support, keep networkAccelerationMode as is, and networkPolicy=cilium is basically the same as this file. I'll defer to John Payne (@jpayne3506) on specific kernel requirements for each version of cilium.
The reason will be displayed to describe this comment to others. Learn more.
We have deployments that only need 5.7/5.10, but those same clusters can have features enabled that will require 5.12. Current feature ceiling is 5.12.
The reason will be displayed to describe this comment to others. Learn more.
Going off the README, can we create new arrays that contain our image difference in min requirements and potentially save space..? What is the best use case for this?
i.e.
The reason will be displayed to describe this comment to others. Learn more.
also asked on Santhosh Prabhu (@santhoshmprabhu), but is there a case for representing cilium compatibility without BPF-LSM (which I'm assuming is what's being referred to as legacy host routing)?
The reason will be displayed to describe this comment to others. Learn more.
cilium legacy host routing is the most common case of cilium deployments. eBPF host routing is opt in, and not planned to be default. It comes with several tradeoffs. BPF LSM is needed only for eBPF host routing support, so we can populate legacy host routing support independent of LSM BPF status.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Introduces an explicit, machine-readable node image feature compatibility matrix under
vhdbuilder/compatibility/features/. The initial matrix contains 29 per-feature JSON files, covering 49 Linux and Windows gallery image definitions, plus a README documenting the schema and maintenance requirements.Matrix structure
Each feature has its own lowercase filename, such as
httpproxy.json, with three top-level fields:tagNameidentifies the feature using its intended tag casing, such ashttpProxy,localDNS, orgpuMIGProfiles.isEnumdistinguishes boolean features from features with individually supported settings.compatibilityrecords support using exact, case-sensitive Shared Image Gallery / Azure Compute Gallery image definition names, such as2204gen2fipsTLcontainerd,V3gen2, oraclgen2arm64fipsTL, rather than Distro identifiers or pipeline job names.For boolean features,
compatibilitydirectly maps each image definition totrueorfalse. For enum-valued features, it contains a separate image-definition-to-boolean mapping for each setting. For example,gpuDevicePluginModedistinguishesdevicePluginfromdra, whilewindowsGpuDriverTypedistinguishesCUDAfromGRID. Supporting one setting does not imply support for the others.Every feature mapping, including every enum-setting mapping, explicitly includes every image definition in scope. Unsupported combinations are represented by
false; missing entries are incomplete data, not an implicit support decision. Image definition keys use consistent ordering across the files.The matrix covers networking, image streaming and bootstrap capabilities, GPU configuration, security-related features, and Windows-specific capabilities such as GMSA, DSR, CSI proxy, SSH, next-generation networking, and accelerated networking.
What the matrix will be used for
These files will provide the compatibility input used to construct the tagging goal for official AKS node image releases: the desired feature-support metadata associated with images published to the gallery. Release tooling can look up an image definition across the feature files and derive its supported boolean features and enum settings, preserving the distinctions between individual settings.
This establishes a reviewable, version-controlled basis for publishing image compatibility metadata that downstream consumers can use for feature discovery and compatibility decisions. It separates the feature-support declaration from the tooling that publishes or consumes it.
Compatibility means that an image can support a feature, not that the feature is enabled by default or usable in every cluster configuration. Kubernetes version, VM SKU, network configuration, feature registration, and other runtime requirements still apply.
This PR adds the matrix data and documentation only. It does not implement tag publication, change API behavior, retag previously published images, or enable features on running nodes. Tagging automation and downstream integration are separate work.
Maintenance and ownership
Adding a new image or retiring an older image requires updating all feature files and all enum-setting mappings together. This includes changes to which jobs are enabled by default in either the Linux or Windows VHD release pipeline. New images must receive explicit support values for every feature; they must not silently inherit support from another image. Removing one feature's support for an image that remains in scope means changing that value to
false, not deleting the image entry.Ownership will be assigned to individual feature files in a series of follow-up PRs, so the responsible feature teams can review and maintain their compatibility declarations as support evolves.
Which issue(s) this PR fixes:
None.